First I used CodeIgniter, just started to learn the framework when used for a while, and then the company with Thinkphp, it was no longer used, after 2, there will be some contrast. First of all, the 2 frame folder capacity is relatively large, not
The last few days decided to look at the CI Framework source code, because it is lightweight, the structure of the code file is clearer, and index.php as a portal, loading all the base classes in the codeigniter.php file, so I looked at each class
CodeIgniter uses the phpcms template engine. CodeIgniter is suitable for application development on small sites, but its built-in view function may cause troubles for front-end personnel who do not understand PHP. In contrast, the view template
Add the phpcms template mechanism to CodeIgniter. CodeIgniter is suitable for application development on small sites, but its built-in view function may cause troubles for front-end personnel who do not understand PHP. In contrast, the view template
In this example, the Codeigniter registration logon code is derived from a codeigniter project. For more information, see the CI framework.
In this example, the Codeigniter registration logon code comes from a codeigniter project ~
Because the
This example CodeIgniter registered login code from a CodeIgniter project and now shares the following ~
Because the Active Record class is used, the general database operation is only two layers, that is, C and V
controllers/login.php file:
Copy
CodeIgniter is suitable for application development on small sites, but its built-in view function may cause troubles for front-end personnel who do not understand PHP. In contrast, the view template parsing of phpcms is much more powerful, so the
This article describes how CodeIgniter uses the view template parsing function CI framework of phpcms.
CodeIgniter is suitable for application development on small sites, but its built-in view function may cause troubles for front-end personnel
Output Class Reference description (Excerpt CI manual):In general, you may not notice the output class at all, because it is completely transparent to you without your intervention. For example, when you use the loader to load a view file, it is
In this example, the Codeigniter registration logon code is derived from a codeigniter project. Now, if you want to register a logon code for Codeigniter, refer to the following example ~
Because the Active Record class is used, generally there are
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.